home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Emulatoren / UAE0.6.4 / src / include / os.h < prev    next >
C/C++ Source or Header  |  2000-05-27  |  685b  |  30 lines

  1.  /* 
  2.   * UAE - The Un*x Amiga Emulator
  3.   * 
  4.   * OS specific functions
  5.   * 
  6.   * (c) 1995 Bernd Schmidt
  7.   */
  8.  
  9. extern void read_joystick(UWORD *dir, int *button);
  10. extern void init_joystick(void);
  11. extern void close_joystick(void);
  12.  
  13. extern struct audio_channel_data {
  14.     CPTR lc, pt, dmaen;
  15.     int data_written, snum, state, intreq2, wper, wlen;
  16.     UWORD dat, nextdat, vol, per, len;
  17.     int current_sample;
  18. } audio_channel[4];
  19.  
  20. extern int sound_available;
  21. extern int joystickpresent;
  22.  
  23. extern int init_sound (void);
  24.  
  25. extern void aud0_handler(void);
  26. extern void aud1_handler(void);
  27. extern void aud2_handler(void);
  28. extern void aud3_handler(void);
  29. extern void AUDxDAT(int nr, UWORD value);
  30.